package cn.bdqn.dao;

import cn.bdqn.pojo.Ebook_entry;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Ebook_entryMapper {
    List<Ebook_entry> getUserList(@Param("categoryId")Integer categoryId, @Param("beginIndex")Integer beginIndex, @Param("pageSize")Integer pageSize);

int getcount(@Param("categoryId") Integer categoryId);

int addEntry(Ebook_entry ebook_entry);

Ebook_entry getEntryById(@Param("id") Integer id);

int update(Ebook_entry ebook_entry);

int del(@Param("id") Integer id);
}
